<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>Introduction_to_Algorithms: src/sort_algorithms/merge_sort/mergesort_test.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Introduction_to_Algorithms
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('mergesort__test_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">mergesort_test.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;src/google_test/gtest.h&quot;</code><br />
<code>#include &quot;<a class="el" href="mergesort_8h_source.html">mergesort.h</a>&quot;</code><br />
</div>
<p><a href="mergesort__test_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aaa0692399fb3f538feb04053f36a2978"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mergesort__test_8h.html#aaa0692399fb3f538feb04053f36a2978">TEST</a> (test_merge_sort, test_C_array)</td></tr>
<tr class="memdesc:aaa0692399fb3f538feb04053f36a2978"><td class="mdescLeft">&#160;</td><td class="mdescRight">merge_sort_test：测试C数组的归并排序  <a href="#aaa0692399fb3f538feb04053f36a2978">More...</a><br /></td></tr>
<tr class="separator:aaa0692399fb3f538feb04053f36a2978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ba4120b2fc820c85807a87fa724b4c8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mergesort__test_8h.html#a3ba4120b2fc820c85807a87fa724b4c8">TEST</a> (test_merge_sort, test_std_container)</td></tr>
<tr class="memdesc:a3ba4120b2fc820c85807a87fa724b4c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">merge_sort_test：测试std::array的归并排序  <a href="#a3ba4120b2fc820c85807a87fa724b4c8">More...</a><br /></td></tr>
<tr class="separator:a3ba4120b2fc820c85807a87fa724b4c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a624f7bd45f730204baf874014d774e02"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mergesort__test_8h.html#a624f7bd45f730204baf874014d774e02">TEST</a> (test_merge, test_C_array)</td></tr>
<tr class="memdesc:a624f7bd45f730204baf874014d774e02"><td class="mdescLeft">&#160;</td><td class="mdescRight">merge_test：测试C数组的归并  <a href="#a624f7bd45f730204baf874014d774e02">More...</a><br /></td></tr>
<tr class="separator:a624f7bd45f730204baf874014d774e02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5806959cff92a4e6c979d4fa47902325"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mergesort__test_8h.html#a5806959cff92a4e6c979d4fa47902325">TEST</a> (test_merge, test_std_container)</td></tr>
<tr class="memdesc:a5806959cff92a4e6c979d4fa47902325"><td class="mdescLeft">&#160;</td><td class="mdescRight">merge_test：测试std::array的归并  <a href="#a5806959cff92a4e6c979d4fa47902325">More...</a><br /></td></tr>
<tr class="separator:a5806959cff92a4e6c979d4fa47902325"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="aaa0692399fb3f538feb04053f36a2978"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">test_merge_sort&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_C_array&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>merge_sort_test：测试C数组的归并排序 </p>
<p>四组数组： 增序排列、降序排列、有重复数字、单元素的数组 参考函数： std::sort()函数 </p>

<p>Definition at line <a class="el" href="mergesort__test_8h_source.html#l00031">31</a> of file <a class="el" href="mergesort__test_8h_source.html">mergesort_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3ba4120b2fc820c85807a87fa724b4c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">test_merge_sort&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_std_container&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>merge_sort_test：测试std::array的归并排序 </p>
<p>四组std::array： 增序排列、降序排列、有重复数字、单元素的std::array 参考函数： std::sort()函数 </p>

<p>Definition at line <a class="el" href="mergesort__test_8h_source.html#l00062">62</a> of file <a class="el" href="mergesort__test_8h_source.html">mergesort_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a624f7bd45f730204baf874014d774e02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">test_merge&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_C_array&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>merge_test：测试C数组的归并 </p>
<p>五组数组： 左右对半、左边只有1个元素、右边只有一个1元素、左边只有0个元素、右边只有一个0元素 参考函数： std::sort()函数 </p>

<p>Definition at line <a class="el" href="mergesort__test_8h_source.html#l00092">92</a> of file <a class="el" href="mergesort__test_8h_source.html">mergesort_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5806959cff92a4e6c979d4fa47902325"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype">test_merge&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_std_container&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>merge_test：测试std::array的归并 </p>
<p>五组std::array： 左右对半、左边只有1个元素、右边只有一个1元素、左边只有0个元素、右边只有一个0元素 参考函数： std::sort()函数 </p>

<p>Definition at line <a class="el" href="mergesort__test_8h_source.html#l00128">128</a> of file <a class="el" href="mergesort__test_8h_source.html">mergesort_test.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_8ed9dba4cd616b67da9b1338594e34e0.html">src</a></li><li class="navelem"><a class="el" href="dir_a03788f144befb43ca5cf4ac95d7a30a.html">sort_algorithms</a></li><li class="navelem"><a class="el" href="dir_be564627efc24d1cbd2e8fddae3c34cc.html">merge_sort</a></li><li class="navelem"><a class="el" href="mergesort__test_8h.html">mergesort_test.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.10 </li>
  </ul>
</div>
</body>
</html>
